/********************************************************************
* Copyright (c) 2013,TGS,All rights reserved.
* fileName:	MapToolBar.h	
* created:	2013/08/07 14:19

* version:	1.6
* detail: 
*********************************************************************/

#pragma once

#include <TGS/MapControl2.0/config.h>
#include <QToolBar>

namespace TGS{
namespace MapControl{

class MapActions;

class MAPCONTROL_EXPORT MapToolBar : public QToolBar
{
public:
	MapToolBar(MapActions* mapActions, QWidget* parent = nullptr);
	~MapToolBar(void);
public:
	QAction* getActionPan();
	QAction* getActionZoomIn();
	QAction* getActionZoomOut();
	QAction* getActionIdentify();
	QAction* getActionSelectPoint();
	QAction* getActionSelectPolygon();
	QAction* getActionZoomFullExtent();
	QAction* getActionSelectRectangle();
	QAction* getActionDeselectAll();
	QAction* getActionMearureArea();
	QAction* getActionDrawPolygon();
	MapActions* getMapActions() ;
private:
	void initialize();
private:
	MapActions*	_mapActions;
};

}//MapControl
}//TGS
